*{padding: 0;margin: 0;}

body {
    width: 600px;
    margin: 2em auto;
    padding: 0 2em;
    font-size: 14px;
    font-family: "Microsoft YaHei";
}

p{
    line-height: 24px;
    margin: 1em 0;
}

header{
    padding: .5em 0;
    border-bottom: 1px solid #cccccc;
}

nav{
    float: left;
    font-family: "Microsoft YaHei";
    font-size: 1.1em;
    text-transform: uppercase;
    margin-left: -12em;
    width: 9em;
    text-align: right;
}

nav a{
    display: block;
    text-decoration: none;
    padding: .7em 1em;
    color: #000000
}

nav a:hover{
    background-color: #ff0000;
    color: #f9f9f9;
    -webkit-transition: color .2s linear;
}

article{
    font-size: 16px;
    padding-top: .5em;
}

article a{
    color: #dd0000;
    text-decoration: none;
}

article :hover{
    color: #333333;
}

.info{font-size: 14px;}

.edit{
    margin: 3px;
    padding: 2px 5px;
    border-radius: 3px;
    background-color: #f3f3f3;
    color: #333;
    font-size: 13px;
}


.edit:hover{
    text-decoration: none;
    background-color: #f00;
    -webkit-transition: color .2s liner;
}